package com.real.operationalcontrols.实体类;

import java.util.List;

public class WuRanYuanCompanyBean {


    /**
     * success : true
     * message : null
     * factory : [{"name":"石家庄华美造纸厂","id":"048","device":[{"name":"排放口","id":"100002"}]},{"name
     * ":"石家庄瑞澳科技有有限公司","id":"049","device":[{"name":"排放口","id":"100003"}]},{"name":"石家庄华美造纸厂",
     * "id":"055","device":[{"name":"排放口","id":"200001"}]},{"name":"石家庄第二轧钢厂","id":"057",
     * "device":[{"name":"排放口","id":"200003"}]},{"name":"无极县长业水务有限公司","id":"058","device":[{"name
     * ":"排放口","id":"200004"}]}]
     */

    private String success;
    private String message;
    private List<FactoryBean> factory;

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<FactoryBean> getFactory() {
        return factory;
    }

    public void setFactory(List<FactoryBean> factory) {
        this.factory = factory;
    }

    public static class FactoryBean {
        /**
         * name : 石家庄华美造纸厂
         * id : 048
         * device : [{"name":"排放口","id":"100002"}]
         */

        private String name;
        private String id;
        private List<DeviceBean> device;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public List<DeviceBean> getDevice() {
            return device;
        }

        public void setDevice(List<DeviceBean> device) {
            this.device = device;
        }

        public static class DeviceBean {
            /**
             * name : 排放口
             * id : 100002
             */

            private String name;
            private String id;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }
        }
    }
}
